#pragma once

#include <gtest/gtest.h>
#include <spdlog/spdlog.h>
#include <spdlog/sinks/stderr_sink.h>
#include "sandbox_manager.h"

class SandboxTest : public ::testing::Test {
protected:
    void SetUp() override {
        // 设置日志输出到stderr
        auto stderr_sink = std::make_shared<spdlog::sinks::stderr_sink_mt>();
        auto logger = std::make_shared<spdlog::logger>("test", stderr_sink);
        logger->set_level(spdlog::level::debug);
        spdlog::set_default_logger(logger);
    }

    void TearDown() override {
        // 清理工作
    }
}; 